package com.swkl.yuan.agvtask;

import cn.hutool.extra.spring.SpringUtil;
import com.swkl.yuan.agvtask.task.MainTask;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling
@SpringBootApplication
public class AgvTaskApplication {

    public static void main(String[] args) {
        SpringApplication.run(AgvTaskApplication.class, args);
        SpringUtil.getBean(MainTask.class).init();
        System.out.println("启动成功");

    }

}
